// WITH_STDLIB
// AFTER-WARNING: Parameter 'args' is never used
// AFTER-WARNING: Parameter 'x' is never used

class Foo {
    companion object {
        fun create(x: String): Foo = Foo()
    }
}

fun main(args: Array<String>) {
    listOf("a").map {<caret> Foo.create(it) }
}

// IGNORE_K2
